#-*- coding: UTF-8 -*-
'''
i = 2
while (i < 100):
    j = 2
    while(j <= (i / j)):
        if not (i % j):
            break                #嵌套循环判断100以内的素数/质数
        j = j + 1
    if(j > i / j):
        print i," 是素数"
    i = i + 1

print ("good bye")
'''
'''
#@100以内质数方法二
num=[];
i=2
for i in range(2,100):
    j=2
    for j in range(2,i):
        if (i%j==0):                   #100以内的质数
            break
        else:
         num.append(i)
print (num)
'''
'''
# *塔尖
i=1
while i <= 13:
    if i <= 7:
        print ("*"*i)
    elif i <= 13:
        j = i-2*(i-7)  #中间的个数与中间前一个相同
        print ("*"*j)
    i = i + 1
else:
 print (" ")
'''
'''
array = [2,45,20,3,7,51,652,1,29,123,410,312,51,125,245,40,0,12,30,6]
i=0
for i in range(len(array)):
    j=i+1
    for j in range(len(array)):               #冒泡排序
        if array[i] < array[j]:
            array[i],array[j]= array[j],array[i]
print (array)
'''


A = []
for i in range(2,101):
    FG=0
    for j in range(2,int(i/2+1)):
        if i % j ==0:
            FG=1
            break
    if FG==0:
        A.append(i)
print (A)
